{extend name="admin@public:base" /}
{block name="main-row-content"}
<div class="row top-search" style="margin:10px;margin-left:-10px;">
	<form class="form-inline ajaxForm5" id="ajax_seria" method="post" action="{:url('admin/Sys/web_log')}">
		    <small class="margin-left-10">操作用户：</small>
            <small>
                <select name="admin_id" class="ajax_request">
                    <option value="">--请选择--</option>
                    {foreach name="admin" item="vo"}
                    <option value="{$vo.id}">{$vo.username}</option>
                    {/foreach}
                </select>
            </small>
            <small class="margin-left-10 ">请求类型：</small>
            <small>
                <select name="action_method" class="ajax_request">
                    <option value="">--请选择--</option>
                    <option value="GET">GET</option>
                    <option value="POST">POST</option>
                    <option value="AJAX">AJAX</option>
                </select>
            </small>
	</form>
</div>
<div class="rows top-button col-sm-12">
     <p>
		<a href="{:url('admin/Sys/web_log_del')}"  class="btn btn-sm btn-warning ajaxAll" data-icon="fa-trash-o" >
			<i class="ace-icon fa fa-trash-o "></i>
			批量删除
		</a>
	</p>
</div>
<div class="row">
	<div class="col-xs-12">
		<!-- PAGE CONTENT BEGINS -->
		<div class="row">
			<div class="col-xs-12">
				<table id="simple-table" class="table table-striped table-bordered table-hover">
					<thead>
						<tr>
						    <th class="center">
								<label class="pos-rel">
									<input type="checkbox" class="ace checkAll" />
									<span class="lbl"></span>
								</label>
							</th>
							<th>ID</th>
							<th>操作用户</th>
							<th class="hidden-480">用户id</th>
							<th class="hidden-480">操作url</th>
							<th>操作名称</th>
							<th>操作类型</th>
							<th class="hidden-480">操作ip</th>
							<th class="hidden-480">时间</th>
							<th>操作</th>
						</tr>
					</thead>

					<tbody id="ajax_data">
					  {include file="sys/ajax_web_log" /}
					</tbody>
				</table>
			</div><!-- /.span -->
		</div><!-- /.row -->

		<div class="hr hr-18 dotted hr-double"></div>
	</div><!-- /.col -->
</div><!-- /.row -->
{/block}
   </body>
</html>